from rest_framework import serializers
from n8 import models
class newsSerializer(serializers.ModelSerializer):
    class Meta:
        model = models.news
        fields = '__all__'